-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.6.9.1
-
Code
-
Classes
- CourseModel
Total Complexity |
83 |
Dependencies |
13 |
Dependents |
6 |
Total lines |
693 |
Lines of code |
366 |
Logical lines of code |
255 |
Comment lines |
223 |
Methods |
25 |
Properties |
22 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_sections_and_items_course_from_db_and_sort() |
A |
36 |
9 |
84 |
get_final_quiz() |
A |
48 |
8 |
33 |
get_item_model_from_db() |
S |
51 |
7 |
26 |
has_sale_price() |
S |
54 |
7 |
19 |
save() |
S |
50 |
4 |
28 |
get_meta_value_by_key() |
S |
61 |
4 |
13 |
get_permalink() |
S |
62 |
3 |
12 |
get_price() |
S |
62 |
3 |
12 |
get_first_item_id() |
S |
63 |
3 |
11 |
get_section_items() |
S |
64 |
3 |
11 |
get_total_items() |
S |
63 |
3 |
11 |
__construct() |
S |
68 |
3 |
8 |
map_to_object() |
S |
67 |
3 |
8 |
get_sale_end() |
S |
64 |
3 |
10 |
get_sale_price() |
S |
64 |
3 |
10 |
get_regular_price() |
S |
65 |
3 |
9 |
get_sale_start() |
S |
64 |
3 |
10 |
get_categories() |
S |
66 |
2 |
9 |
get_author_model() |
S |
67 |
2 |
8 |
get_image_url() |
S |
65 |
2 |
10 |
get_course_from_db() |
S |
70 |
1 |
6 |
is_free() |
S |
78 |
1 |
3 |
find() |
S |
72 |
1 |
5 |
get_id() |
S |
82 |
1 |
3 |
delete() |
S |
68 |
1 |
7 |